fix prototypes of signal callbacks in the test suite
authorSteve Langasek <steve.langasek@ubuntu.com>
Tue, 7 Jan 2014 12:55:28 +0000 (13:55 +0100)
committerSebastien Bacher <seb128@ubuntu.com>
Wed, 8 Jan 2014 09:43:52 +0000 (10:43 +0100)
commit256561db2f0b34e01047f8882b3e0cb8c6d9dbab
tree59ec415b03bf48908107afcfc63e67f167265762
parent6b865d53123c85f9d02b5a091435327a4dd7e464
fix prototypes of signal callbacks in the test suite

The signal callbacks are defined to take pointers as their arguments, but the
callbacks found in testsuite/gtk/builder.c are passing a GParamSpec by value
as the second argument.  This confuses and angers the compiler on ppc64el,
resulting in segfaults after return from the function due to stack-smashing
by the (completely-unused) argument.

https://bugzilla.gnome.org/show_bug.cgi?id=721700
testsuite/gtk/builder.c